-- GENERATED SPELL FOR [Hound of Culuthas] --


function spell0_20141(pUnit, Event) --@Double Breath,n/a--
pUnit:FullCastSpellOnTarget(36406,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20141', 4500, 1)
end

function spell1_20141(pUnit, Event) --@Stomp,n/a--
pUnit:FullCastSpellOnTarget(36405,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20141', 589, 1)
end

function Sorts_20141(pUnit, Event)
local choix_sorts_20141 = math.random(0, 1)
if choix_sorts_20141 == 0 then
pUnit:RegisterEvent('spell0_20141', 1, 1)
end
if choix_sorts_20141 == 1 then
pUnit:RegisterEvent('spell1_20141', 1, 1)
end
end

function mob20141_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20141', math.random(1500, 3000), 1)
end

function mob20141_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20141_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20141_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20141, 1, 'mob20141_Action')
RegisterUnitEvent(20141, 2, 'mob20141_Leave')
RegisterUnitEvent(20141, 3, 'mob20141_Kill')
RegisterUnitEvent(20141, 4, 'mob20141_Die')
